package org.jeecg.modules.content.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 内容模板
 * @Author: jeecg-boot
 * @Date:   2020-05-02
 * @Version: V1.0
 */
@Data
@TableName("con_content_template")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="con_content_template对象", description="内容模板")
public class ConContentTemplate {

	/**主键ID*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键ID")
	private String id;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**修改人*/
	@Excel(name = "修改人", width = 15)
    @ApiModelProperty(value = "修改人")
	private String updateBy;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private Date updateTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
	private String remark;
	/**删除标识0-正常,1-已删除*/
	@Excel(name = "删除标识0-正常,1-已删除", width = 15)
    @ApiModelProperty(value = "删除标识0-正常,1-已删除")
	private Integer delFlag;
	/**内容编号*/
	@Excel(name = "内容编号", width = 15)
    @ApiModelProperty(value = "内容编号")
	private String contentNo;
	/**内容类型 1、文章2、视频 3、音频  4、H5*/
	@Excel(name = "内容类型 1、文章2、视频 3、音频  4、H5", width = 15)
    @ApiModelProperty(value = "内容类型 1、文章2、视频 3、音频  4、H5")
	private Integer contentType;
	/**内容分类ID*/
	@Excel(name = "内容分类ID", width = 15)
    @ApiModelProperty(value = "内容分类ID")
	private String categoryId;
	/**内容分类名称*/
	@Excel(name = "内容分类名称", width = 15)
    @ApiModelProperty(value = "内容分类名称")
	private String categoryName;
	/**内容标题*/
	@Excel(name = "内容标题", width = 15)
    @ApiModelProperty(value = "内容标题")
	private String contentTitle;
	/**内容副标题*/
	@Excel(name = "内容副标题", width = 15)
    @ApiModelProperty(value = "内容副标题")
	private String contentSubTitle;
	/**内容简介*/
	@Excel(name = "内容简介", width = 15)
    @ApiModelProperty(value = "内容简介")
	private String contentIntroduce;
	/**内容宣传图pc*/
	@Excel(name = "内容宣传图pc", width = 15)
    @ApiModelProperty(value = "内容宣传图pc")
	private String pcLogoUrl;
	/**内容宣传图手机*/
	@Excel(name = "内容宣传图手机", width = 15)
    @ApiModelProperty(value = "内容宣传图手机")
	private String mbLogoUrl;
	/**作者id*/
	@Excel(name = "作者id", width = 15)
    @ApiModelProperty(value = "作者id")
	private String authorId;
	/**作者姓名*/
	@Excel(name = "作者姓名", width = 15)
    @ApiModelProperty(value = "作者姓名")
	private String authorName;
	/**内容来源 1、内部 2、外部*/
	@Excel(name = "内容来源 1、内部 2、外部", width = 15)
    @ApiModelProperty(value = "内容来源 1、内部 2、外部")
	private Integer source;
	/**文章内容*/
	@Excel(name = "文章内容", width = 15)
    @ApiModelProperty(value = "文章内容")
	private Object content;
	/**内容视频*/
	@Excel(name = "内容视频", width = 15)
    @ApiModelProperty(value = "内容视频")
	private String videoUrl;
	/**内容音频*/
	@Excel(name = "内容音频", width = 15)
    @ApiModelProperty(value = "内容音频")
	private String voiceUrl;
	/**H5地址*/
	@Excel(name = "H5地址", width = 15)
    @ApiModelProperty(value = "H5地址")
	private String htmlUrl;
	/**搜索关键词*/
	@Excel(name = "搜索关键词", width = 15)
    @ApiModelProperty(value = "搜索关键词")
	private String keyword;

	@TableField(exist = false)
	private  String startTime;


	@TableField(exist = false)
	private  String endTime;
	private  Integer syncStatus;

	private  String  thirdId;
	private  Integer status;







}
